home *** CD-ROM | disk | FTP | other *** search
/ Softwarová Záchrana 3 / Softwarova-zachrana-3.bin / Xteq X-Setup / xqdcXSP-Setup-EN.exe / {app} / plugins / XQ WinNT IP Source Routing.xpl < prev    next >
Text File  |  2000-11-12  |  1KB  |  54 lines

  1. "FILE"="Xteq Systems X-Setup Plugin 6.0"
  2. "TYPE"="6"
  3. "COUNT"="1"
  4. "UIPATH"="Network\TCP/IP"
  5. "NAME"="Windows NT IP Source Routing"
  6. "VERSION"="1.05"
  7. "OSVERSION"="01000"
  8. "LANGUAGE"="VBScript"
  9. "WARNING"="1"
  10. "TEXT 1"="Enable IP Source Routing"
  11. "DESCRIPTION 1"="By default, Windows NT 4.0 has TCP/IP source routing activated but in some cases you might want to disable this feature."
  12. "DESCRIPTION 2"="Please note that this requires at least SP5 to work correctly."
  13. "DESCRIPTION 3"="For more information about source routing, please see MS KB Q217336."
  14. "AUTHOR"="Xteq Systems"
  15. "CONTACTURL"="http://www.xteq.com"
  16. "COPYRIGHT"="Copyright ⌐ Xteq Systems - All Rights Reserved"
  17. "COMMENT 1"=" "
  18. "COMMENT 2"="Thanks to CptSiskoX for his help!"
  19.  
  20.  
  21.  
  22.  
  23.  
  24.  
  25.  
  26. sP1="HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\"
  27. sV1="DisableIPSourceRouting"
  28. Sub Plugin_Initialize 
  29.  
  30.     i=RegReadValue(sP1 & sV1)
  31.     if i=0 then SetUiElement 1,true 
  32.    
  33. End Sub
  34.  
  35. Sub Plugin_CheckData(ElementIndex)
  36. End Sub
  37.  
  38. Sub Plugin_Apply(ElementIndex,ElementSubIndex)
  39.  If GetUIElement(1)=true then
  40.     Call RegWriteValue(sp1 & sv1,"0",2)
  41.  else
  42.     Call RegWriteValue(sp1 & sv1,"2",2)
  43.  end if
  44.  
  45.  Restart
  46. End Sub
  47.  
  48.  
  49. Sub Plugin_Terminate 
  50. End Sub
  51.  
  52.  
  53.  
  54.